var CurrentTime = Class.create();

Object.extend(CurrentTime, {
  get: function(offset) {
    d = new Date();
    utc = d.getTime() + (d.getTimezoneOffset() * 60000);
    nd = new Date(utc + (3600000*offset));
    
    hours = nd.getHours();
    minutes = nd.getMinutes();
    seconds = nd.getSeconds();
    
    return (nd.getMonth() + 1) + '/' +
      (nd.getDate() + 1) + ' ' + 
      (hours < 10 ? ('0' + hours) : hours) + ':' + 
      (minutes < 10 ? ('0' + minutes) : minutes) + ':' +
      (seconds < 10 ? ('0' + seconds) : seconds);
  }
});
